package com.edu.d1_polymorphic;

public class Dog extends Animal{
    public String name="子类狗子";

    @Override
    public void run() {
        System.out.println("狗子不听话");
    }
}
